Automattic\WCShipping\Connect\WC_Connect_Nux B

Total Complexity 92
Dependencies 5
Dependents 1
Total lines 535
Lines of code 369
Logical lines of code 161
Comment lines 94
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
should_display_nux_notice_on_screen()
A
49 16 34
show_nux_banner()
A
40 11 66
get_banner_type_to_display()
A
53 11 25
get_feature_list_for_country()
A
53 11 21
show_banner_after_connection()
A
47 7 37
show_tos_banner()
A
47 7 35
set_up_nux_notices()
S
49 5 33
show_banner_before_connection()
S
52 4 24
get_jetpack_install_status()
S
66 4 9
load_scripts_and_styles()
S
53 1 26
get_notice_states()
S
68 2 7
is_notice_dismissed()
S
75 2 4
ajax_dismiss_notice()
S
67 2 8
can_accept_tos()
S
67 2 8
register_wcshipping_jetpack()
S
65 2 9
__construct()
S
75 1 4
dismiss_notice()
S
72 1 5
should_display_nux_notice_for_current_store_locale()
S
72 1 5
get_jetpack_redirect_url()
S
69 1 6
is_tos_accepted()
S
80 1 3